package com.tingyuge.base.design.proxy.staticproxy;

/**
 * @Created by xiaodao
 */
public class StarAdapter implements Star{
    private Star star;

    public StarAdapter(Star star) {
        this.star = star;
    }

    public void confer() {
        System.out.println("StarAdapter.confer");
    }

    public void signContract() {
        System.out.println("StarAdapter.signContract");
    }

    public void sing() {
        star.sing();
    }

    public void collect() {
        System.out.println("StarAdapter.collect");
    }
}
